﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.ServiceModel.Syndication
{
    /// <summary>
    /// Definitions for Atom author entries  
    /// </summary>
    [DataContract(Name = "author", Namespace = CmisNs.Atom)]
    public class CmisAuthor
    {
        [DataMember(Name = "name", EmitDefaultValue = false, Order = 1)]
        public string Name
        {
            get;
            set;
        }

        [DataMember(Name = "uri", EmitDefaultValue = false, Order = 2)]
        public string Uri
        {
            get;
            set;
        }

        [DataMember(Name = "email", EmitDefaultValue = false, Order = 3)]
        public string Email
        {
            get;
            set;
        }
    }
}
